package com.sinosoft.web;

import com.sinosoft.service.IServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author loujiang
 * @date 2020/12/22 4:28 下午
 * @NOTE:
 */
@RestController
public class TestRetryController {

    @Autowired
    IServer server;
    @RequestMapping("/test/retry")
    public String testRetry(@RequestParam("time") int time) {

        return server.Retry(time);
    }
}
